package com.jd.myaaaccount.entity;

import java.util.Date;
import java.util.List;

public class DayBook extends BaseEntity {

	/**
	 * 消费金额
	 */
	private double money;

	/**
	 * 消费类别
	 */
	private ConsumptionCategory category;

	/**
	 * 0个人消费 1家庭消费
	 */
	private int flag;

	/**
	 * 创建人
	 */
	private Host creator;

	/**
	 * 所属的个人或家庭 flag为0表示个人 flag为1表示家庭
	 */
	private Host host;

	/**
	 * 付款人
	 */
	private Host payer;

	/**
	 * 消费人员
	 */
	private List<Host> customers;

	/**
	 * 消费日期
	 */
	private Date date;

	/**
	 * 图片 名称
	 */
	private List<String> pictures;

	private Location location;

	/**
	 * 是否结算 0未结算 1已经结算
	 */
	private int settled;

	private String settleId;

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public ConsumptionCategory getCategory() {
		return category;
	}

	public void setCategory(ConsumptionCategory category) {
		this.category = category;
	}

	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public Host getCreator() {
		return creator;
	}

	public void setCreator(Host creator) {
		this.creator = creator;
	}

	public Host getHost() {
		return host;
	}

	public void setHost(Host host) {
		this.host = host;
	}

	public Host getPayer() {
		return payer;
	}

	public void setPayer(Host payer) {
		this.payer = payer;
	}

	public List<Host> getCustomers() {
		return customers;
	}

	public void setCustomers(List<Host> customers) {
		this.customers = customers;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public int getSettled() {
		return settled;
	}

	public void setSettled(int settled) {
		this.settled = settled;
	}

	public String getSettleId() {
		return settleId;
	}

	public void setSettleId(String settleId) {
		this.settleId = settleId;
	} 
	public List<String> getPictures() {
		return pictures;
	}

	public void setPictures(List<String> pictures) {
		this.pictures = pictures;
	}

	public Location getLocation() {
		return location;
	}

	public void setLocation(Location location) {
		this.location = location;
	}
}
